package com.hhx.ec.config;

import static java.util.concurrent.TimeUnit.SECONDS;

import org.springframework.context.annotation.Configuration;

import feign.Retryer;

@Configuration
public class FeignConfig {

	public Retryer feignRetryer() {
		return new Retryer.Default(100, SECONDS.toMillis(1), 5);
	}
	
}
